#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;

void Test1(string& path) {
  ifstream ifs(path);
  string tmp;
  string key;
  string val;
  istringstream iss;
  while (!ifs.eof()) {
    getline(ifs, tmp);
    iss.str(tmp);
    while (!iss.eof()) {
      if (iss.peek() == '#')
        break;
      else if (iss.peek() == ' ')
        iss.get();
      iss >> key;
      iss >> val;
    }
  }
}
int main() {
  string path;
  cin >> path;
  Test1(path);

  return 0;
}
